#ifndef key_h
#define key_h

#include "head.h"

sbit key_dir=P3^1;
sbit key_acc=P3^0;
sbit key_redu=P3^2;
sbit key4=P3^3;

#define KEYPRESS_DIR 1
#define KEYPRESS_ACC 2
#define KEYPRESS_REDU 3
#define KEYPRESS_4 4

#define UNPRESS 0



#endif